Package com.orange.webcom.sdkv2.datasync

Exposes the API of the Webcom Realtime Database service (or "datasync" in short).

Types

DatasyncManager
Link copied to clipboard
class DatasyncManager

Handles a set of subscriptions to data nodes and authentication events.

DatasyncNode
Link copied to clipboard
class DatasyncNode : Subscriber

Represents a data node within the tree-like data of a Webcom application.

DatasyncService
Link copied to clipboard
class DatasyncService : WebcomAbstractService

The WebcomAbstractService that makes it possible to interact in real time with the data of a Webcom application.

DatasyncTime
Link copied to clipboard
enum DatasyncTime : Enum<DatasyncTime>

Represents a write-policy into the Webcom database.

DatasyncValue
Link copied to clipboard
class DatasyncValue : TreeLikeData

Represents a tree-like value stored by the Webcom datasync service within its real-time database.

PresenceState
Link copied to clipboard
typealias PresenceState = ISO8601Date

Type used to publish the user's presence, which the DatasyncService.startPublishingMyPresence and DatasyncService.isPresent methods rely on.

This type should only be used to convert DatasyncValue values using the DatasyncValue.converted or DatasyncValue.convertTo methods.

TransactionOperation
Link copied to clipboard
sealed class TransactionOperation

Represents a write operation to perform on a data node within an atomic transaction.

TransactionResult
Link copied to clipboard
data class TransactionResult(value: DatasyncValue, hasCompleted: Boolean)

Represents the result of a transaction run by the DatasyncNode.runTransaction method.